package com.kehutong.payment.dto;

import java.util.Date;

public class OrderRefundResDto {

    /**
     * 订单表id
     */
    private String thirdOrderId;

    /**
     * 供应商交易号
     */
    private String vendorTradeNo;

    /**
     * 是否退款成功
     */
    private boolean success;

    /**
     * 是否第一次退款成功
     */
    private boolean firstSuccess;

    /**
     * 退款日期
     */
    private Date refundDate;

    /**
     * 描述
     */
    private String description;

    public String getThirdOrderId() {
        return thirdOrderId;
    }

    public void setThirdOrderId(String thirdOrderId) {
        this.thirdOrderId = thirdOrderId;
    }

    public String getVendorTradeNo() {
        return vendorTradeNo;
    }

    public void setVendorTradeNo(String vendorTradeNo) {
        this.vendorTradeNo = vendorTradeNo;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Date getRefundDate() {
        return refundDate;
    }

    public void setRefundDate(Date refundDate) {
        this.refundDate = refundDate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean isFirstSuccess() {
        return firstSuccess;
    }

    public void setFirstSuccess(boolean firstSuccess) {
        this.firstSuccess = firstSuccess;
    }

    @Override
    public String toString() {
        return "OrderRefundResDto{" +
                "thirdOrderId='" + thirdOrderId + '\'' +
                ", vendorTradeNo='" + vendorTradeNo + '\'' +
                ", success=" + success +
                ", firstSuccess=" + firstSuccess +
                ", refundDate=" + refundDate +
                ", description='" + description + '\'' +
                '}';
    }
}
